package com.cards;

public class Car extends Vehicle {

    private int acceleration = 0;


    public Car() {
        mType = Vehicle.TYPE_CAR;
    }


    public Car(int id, int speed, int acc, int motorVol, int cylinder, int weight) {
        mType = Vehicle.TYPE_CAR;
        setId(id);
        setSpeed(speed);
        setAcc(acc);
        setMotorVol(motorVol);
        setCylinder(cylinder);
        setWeight(weight);
    }


    public void setAcc(int acc) {
        this.acceleration = acc;
    }


    public int getAcc() {
        return this.acceleration;
    }
}
